package cn.yr.system.mapper;

import cn.yr.common.core.domain.entity.SysUser;
import cn.yr.common.core.domain.vo.PageVo;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 用户信息表
 * @author Lang
 * @email 1102076808@qq.com
 * @date 2020-06-30 22:11:06
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

	/**
	 * @description
	 * @author Lang
	 * @date 2020/7/17 22:07
	 */
	PageVo<SysUser> pageUser(PageVo<SysUser> pageVo, @Param(Constants.WRAPPER) Wrapper<SysUser> wrapper);

	@Select("select * from sys_user where uuid = #{uuid};")
	SysUser selectByUuid(String uuid);
}
